package service;

import pojo.Doctor;

import java.util.List;

public interface DoctorService {
    int insertDoctor(Doctor doctor);
    int deleteDoctorById(String docId);
    int updateDoctor(Doctor doctor);
    Doctor selectDoctorById(String docId);
    List<Doctor> selectAllDoctors();
    List<Doctor> searchByName(String docName);
}